package org.shijiagen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 轮播图实体类
 */
@Data
@TableName("carousel")
public class Carousel {
    @TableId(type = IdType.AUTO)
    @JsonProperty("carousel_id")
    private Integer carouselId;

    private String imgPath;

    private String describes;
    @JsonProperty("product_id")
    private Integer productId;

    private Integer priority;
}
